﻿using System;
using System.Collections.Generic;
using System.Text;
using ffmpeg;

namespace consoleMonitor
{
	class Program
	{
		static void Main(string[] args)
		{
			string[] extensiones = Properties.Settings.Default.VideoExtensions.Split('.');
			Monitor monitor = new Monitor(
					Properties.Settings.Default.QueueFilename,
					Properties.Settings.Default.FolderToMonitor,
					Properties.Settings.Default.FfmpegPath,
					Properties.Settings.Default.FfmpegName,
					new List<string>(extensiones),
					Properties.Settings.Default.VideoCodecRegex,
					Properties.Settings.Default.AudioCodecRegex,
					Properties.Settings.Default.SharedFolder);
			monitor.Init();
			while (true) { }
		}
	}
}
